package com.wx.springcloud.alibaba.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.wx.springcloud.entities.CommonResult;

/**
 * @author wangdada
 */
public class CustomBlockHandler {
    public static CommonResult handleException(BlockException exception){
        return new CommonResult(2021, "自定义的限流处理信息，CustomBlockHandler");
    }
}
